package com.spring.showcase.controllers;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.spring.showcase.jaxws.WebServiceInterface;

@Controller
public class WebServiceController {

	@Resource(name = "ws")
	WebServiceInterface webServiceInterface;

	@RequestMapping("/webservice")
	@ResponseBody
	public void ws() {
		webServiceInterface.setResult("alma");
	}
}
